import React from 'react';
import Navbar from 'react-bootstrap/lib/Navbar';
import Button from 'react-bootstrap/lib/Button';
import Input from 'react-bootstrap/lib/Input';

export default class NavSearch extends React.Component {
  constructor() {
    super();

    this.state = {};
  }

  onSubmit(e) {
    e.preventDefault();
    console.log('Clicked');
  }

  render() {
    return (
      <Navbar.Form pullRight onSubmit={this.onSubmit} action="">
        <div className="input-group">
        <Input type="text" placeholder="Search"/>
        <span className="glyphicon glyphicon-search form-control-feedback" aria-hidden="true"></span>
          </div>
      </Navbar.Form>
    );
  }
}
